"""
=================================================
@Author: Zhenzhou Liu
@Date: 2025-02-07
@Description：
==================================================
"""
n = int(input())
stack = list(map(int, input().split()))
stack.sort(reverse=True)
print(' '.join(map(str, stack)))